package com.ssy.lingxi.marketing.api.model.response;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 *  优惠券信息
 * @author ds
 * @date 2022/2/8
 * @version 2.0.0
 */
@Getter
@Setter
@NoArgsConstructor
public class CouponInfoResp implements Serializable {

    private static final long serialVersionUID = 8457644764572546712L;
    /**
     * 优惠券id
     */
    private Long id;

    /**
     * 券码
     */
    private String code;

    public CouponInfoResp(Long id, String code) {
        this.id = id;
        this.code = code;
    }
}
